package xyz.sxcloud.gkcrm.system.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class UserAccount {
    private String uaId;
    private String uaName;
    private String uaPassword;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date uaCreatTime;

    public UserAccount() {
    }

    public UserAccount(String uaId, String uaName, String uaPassword, Date uaCreatTime) {
        this.uaId = uaId;
        this.uaName = uaName;
        this.uaPassword = uaPassword;
        this.uaCreatTime = uaCreatTime;
    }

    public String getUaId() {
        return uaId;
    }

    public void setUaId(String uaId) {
        this.uaId = uaId;
    }

    public String getUaName() {
        return uaName;
    }

    public void setUaName(String uaName) {
        this.uaName = uaName;
    }

    public String getUaPassword() {
        return uaPassword;
    }

    public void setUaPassword(String uaPassword) {
        this.uaPassword = uaPassword;
    }

    public Date getUaCreatTime() {
        return uaCreatTime;
    }

    public void setUaCreatTime(Date uaCreatTime) {
        this.uaCreatTime = uaCreatTime;
    }

    @Override
    public String toString() {
        return "UserAccount{" +
                "uaId='" + uaId + '\'' +
                ", uaName='" + uaName + '\'' +
                ", uaPassword='" + uaPassword + '\'' +
                ", uaCreatTime='" + uaCreatTime + '\'' +
                '}';
    }
}
